package com.financing.platform.service;

import java.sql.SQLException;
import java.util.List;

import com.financing.platform.dto.FpFaOfflineUserDTO;

public interface IOfflineUserService {
	/**
	 * 
	 * @Title: insertOfflineUser
	 * @Description: 添加线下用户
	 * @param FpFaOfflineUserDTO
	 * @throws SQLException   
	 * @return int   
	 * @throws
	 */
	public int insertOfflineUser(FpFaOfflineUserDTO bean) throws SQLException;

	/**
	 * 
	 * @Title: loadByOrderId
	 * @Description: 根据参数查询线下用户
	 * @param FpPaymentDTO
	 * @throws SQLException   
	 * @return FpPaymentDTO   
	 * @throws
	 */
	public FpFaOfflineUserDTO loadById(FpFaOfflineUserDTO bean) throws SQLException;

	/**
	 * 
	 * @Title: updateFpFaOfflineUser
	 * @Description: 修改线下用户
	 * @param FpPaymentDTO
	 * @throws SQLException   
	 * @throws
	 */
	public void updateFpFaOfflineUser(FpFaOfflineUserDTO bean)throws SQLException;
	
	/**
	 * 
	 * @Title: queryPaymentList
	 * @Description: 根据参数查询订单id
	 * @param FpPaymentDTO
	 * @throws SQLException   
	 * @return FpPaymentDTO   
	 * @throws
	 */
	public List<FpFaOfflineUserDTO> queryFpFaOfflineUserList(FpFaOfflineUserDTO bean) throws SQLException;
	
	/**
	 * @param FpFaOfflineUserDTO
	 * @return
	 * @throws SQLException
	 */
	public int queryFpFaOfflineUserCount(FpFaOfflineUserDTO bean) throws SQLException;

	/**
	 * 根据手机号判断是否注册
	 * @param mobile
	 * @return
	 * @throws SQLException
	 */
	public String queryFpFaUser(String mobile)throws SQLException;
	
	

}
